using System;

namespace PageFlowQuickstart.Modules.Customers.BusinessEntities
{
    [Serializable]
    public class Customer
    {
        private string _name;
        private string _lastName;
        private int _id;
        private bool _approved;
        
        public Customer()
        {

        }

        public Customer(int id, string name, string lastName, bool approved)
        {
            _id = id;
            _name = name;
            _lastName = lastName;
            _approved = approved;
        }
        
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string LastName
        {
            get { return _lastName; }
            set { _lastName = value; }
        }

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public bool Approved
        {
            get { return _approved; }
            set { _approved = value; }
        }
    }
}
